﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace iTeamyou.LTS.Core.Migrations
{
    public partial class Update1011 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<DateTime>(
                name: "EntryDatetime",
                table: "BatchLicenses",
                type: "datetime",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "Number",
                table: "BatchLicenses",
                type: "longtext",
                nullable: false)
                .Annotation("MySql:CharSet", "utf8mb4");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "EntryDatetime",
                table: "BatchLicenses");

            migrationBuilder.DropColumn(
                name: "Number",
                table: "BatchLicenses");
        }
    }
}
